package com.marion.jpaspringbootstarter.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author Marion
 * @date 2022/3/2 19:00
 */
@ConfigurationProperties(prefix = "mjpa")
public class MJpaProperties {

    private Boolean enable;

    private Integer id;

    private String name;

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
